package com.member.provider.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.member.dto.AccessManage;
import com.member.provider.mapper.MemberCommercialMapper;
import com.member.provider.service.MemberCommercialService;
import com.member.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @auther liujian
 * @date 2024/1/4 14:49
 */
@Service
@Transactional
public class MemberCommercialServiceImpl extends ServiceImpl<MemberCommercialMapper, AccessManage> implements MemberCommercialService {

    @Autowired
    private MemberCommercialMapper memberCommercialMapper;
    @Override
    public Result selectAccessList() {
        List<AccessManage> accessManageList=memberCommercialMapper.selectAccessList();
        return null;
    }

    @Override
    public Result selectAccessListByPayment(int payment) {
        List<AccessManage> accessManageList=memberCommercialMapper.selectAccessListByPayment(payment);
        return null;
    }
}
